const user_info = {
    state: {
        userInfo:{}
    },
    mutations: {
        setUserInfo(state,payload){
            state.userInfo = payload;
        }
    },
    actions: {
        async setUserInfo({commit}){
            const {res} = await this.xx; 
            commit('setUserInfo',data);
        }
    }
}
export default user_info